package com.atguigu.demo;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

/**
 * @author: 孟繁钦
 * @createDate: 2021-12-09 23:52
 * @description: excel测试数据
 */
@Data
public class DemoData {
    //设置excel表头名称 表对应的列数
    @ExcelProperty(value = "学生编号",index = 0)
    private Integer sno;
    //
    @ExcelProperty(value = "学生姓名",index = 1)
    private String sname;
}
